Skip to content

[loki] Add cooldownPeriod to defaults.kedaAutoscaling#322

Merged
jkroepke merged 14 commits intomainfrom
fix/keda-cooldown-global-default
Apr 11, 2026
Merged

[loki] Add cooldownPeriod to defaults.kedaAutoscaling#322
jkroepke merged 14 commits intomainfrom
fix/keda-cooldown-global-default

Conversation

@QuentinBisson
Copy link
Copy Markdown

What

Add cooldownPeriod to the shared defaults.kedaAutoscaling block and use coalesce in _keda.tpl, consistent with how pollingInterval already works.

Why

pollingInterval can be set once in defaults.kedaAutoscaling.pollingInterval to apply globally across all KEDA-enabled components. cooldownPeriod did not have this — it was hardcoded at 300s per component with no way to override globally. A user wanting to change the cooldown period had to repeat the override for every component individually.

Change

values.yaml — add to defaults.kedaAutoscaling:

cooldownPeriod: 300

_keda.tpl — use coalesce to fall back to the shared default:

- cooldownPeriod: {{ $component.kedaAutoscaling.cooldownPeriod }}
+ cooldownPeriod: {{ coalesce $component.kedaAutoscaling.cooldownPeriod .Values.defaults.kedaAutoscaling.cooldownPeriod }}

No behaviour change for existing deployments — per-component defaults remain 300s and take precedence over the shared default.

Signed-off-by: Quentin Bisson quentin.bisson@gmail.com

@QuentinBisson QuentinBisson force-pushed the fix/keda-cooldown-global-default branch from d3e55da to a0e2148 Compare April 11, 2026 10:09
@QuentinBisson QuentinBisson force-pushed the fix/keda-cooldown-global-default branch 2 times, most recently from 29c5288 to eca9bd7 Compare April 11, 2026 10:23
QuentinBisson and others added 13 commits April 11, 2026 12:24
cooldownPeriod was not included in defaults.kedaAutoscaling, meaning it
could not be overridden globally like pollingInterval. Add it with the
same default of 300s and use coalesce in _keda.tpl so users can set a
single value in defaults.kedaAutoscaling.cooldownPeriod to apply across
all components instead of overriding each component individually.

Signed-off-by: Quentin Bisson <quentin.bisson@gmail.com>
Signed-off-by: QuentinBisson <quentin@giantswarm.io>
* [loki] Add template helper for single-binary

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>

* [loki] Add template helper for single-binary

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>

* revert container rename

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>

* add UI target

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>

* add UI target

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>

* add UI target

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>

---------

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
Signed-off-by: Quentin Bisson <quentin.bisson@gmail.com>
Co-authored-by: Quentin Bisson <quentin.bisson@gmail.com>
Signed-off-by: QuentinBisson <quentin@giantswarm.io>
Signed-off-by: QuentinBisson <quentin@giantswarm.io>
Signed-off-by: QuentinBisson <quentin@giantswarm.io>
…n is disabled. (#326)

Signed-off-by: Justin Bronn <justin.bronn@vantor.com>
Signed-off-by: QuentinBisson <quentin@giantswarm.io>
* [tempo-distributed] add support for seprate cache per role

Signed-off-by: AvivGuiser <avivguiser@gmail.com>

* [tempo-distributed] add metrics port, update README and more tests

Signed-off-by: AvivGuiser <avivguiser@gmail.com>

* [tempo-distributed] add exporter sidecar and annotations to sts

Signed-off-by: AvivGuiser <avivguiser@gmail.com>

---------

Signed-off-by: AvivGuiser <avivguiser@gmail.com>
Signed-off-by: QuentinBisson <quentin@giantswarm.io>
Co-authored-by: Jan-Otto Kröpke <mail@jkroepke.de>
Signed-off-by: QuentinBisson <quentin@giantswarm.io>
Co-authored-by: Jan-Otto Kröpke <mail@jkroepke.de>
Signed-off-by: QuentinBisson <quentin@giantswarm.io>
#327)

* [tempo-distributed] Auto-inject GOMEMLIMIT from container memory limit

Automatically inject the GOMEMLIMIT environment variable for all Tempo
Go components when a container memory limit is configured and GOMEMLIMIT
is not already set by the user. Also injects GOGC=80 by default.

Mirrors the approach from the loki chart (PR #230).

Signed-off-by: drfaust92 <Ilia.lazebnik@gmail.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>

* Update Chart.yaml

Signed-off-by: Ilia Lazebnik <Ilia.lazebnik@gmail.com>

---------

Signed-off-by: drfaust92 <Ilia.lazebnik@gmail.com>
Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>
Signed-off-by: Ilia Lazebnik <Ilia.lazebnik@gmail.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Sheikh-Abubaker <sheikhabubaker761@gmail.com>
Signed-off-by: QuentinBisson <quentin@giantswarm.io>
* [CI] Update actions/create-github-app-token action to v3.1.0

* fix linter

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>

* fix linter

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>

* fix linter

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>

* fix linter

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>

---------

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jan-Otto Kröpke <mail@jkroepke.de>
Signed-off-by: QuentinBisson <quentin@giantswarm.io>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: QuentinBisson <quentin@giantswarm.io>
Signed-off-by: QuentinBisson <quentin@giantswarm.io>
Signed-off-by: Quentin Bisson <quentin.bisson@gmail.com>
Signed-off-by: QuentinBisson <quentin@giantswarm.io>
@QuentinBisson QuentinBisson force-pushed the fix/keda-cooldown-global-default branch from eca9bd7 to 1b92ed3 Compare April 11, 2026 10:25
Signed-off-by: Quentin Bisson <quentin.bisson@gmail.com>
@jkroepke jkroepke enabled auto-merge (squash) April 11, 2026 10:32
@jkroepke jkroepke merged commit df93c8c into main Apr 11, 2026
8 checks passed
@jkroepke jkroepke deleted the fix/keda-cooldown-global-default branch April 11, 2026 10:46
QuentinBisson added a commit that referenced this pull request Apr 12, 2026
Signed-off-by: QuentinBisson <quentin@giantswarm.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants